package com.seari.mapper;

import com.seari.bean.*;
import com.seari.bean.Equipment;

import java.util.List;
import java.util.Map;

public interface EquipmentMapper {
    List<MaterialCaregory> getFMcTree(MaterialCaregory materialCaregory);
    List<MaterialCaregory> getFMcByParams(MaterialCaregory materialCaregory);
    MaterialCaregory getFMcByFMcId(MaterialCaregory materialCaregory);
    int deleteMc(MaterialCaregory materialCaregory);
    int addMcAttrValueBatch(List<MaterialCaregoryAttrVaule> materialCaregoryValueAttrList);
    List<Map<String,String>> getLineList(Map<String, String> map);
    List<Station> getStationByParam(Station station);
    List<MaterialCaregoryAttr> getFMcAttrByParams(MaterialCaregoryAttr materialCaregoryAttr);
    List<MaterialCaregoryAttr> getAttrAndValueByFMcId(MaterialCaregoryAttr materialCaregoryAttr);
    List<Product> getProductByFMcId(Product product);
    List<Product> getProductById(Product product);
    int addProductBatch(List<Product> productList);
    void saveDevLifeInfo(DevLifeBean devLife);
    Integer selEtInfoPlanCountForIns(Equipment equipment);
    Integer selEtInfoCountForIns(Equipment equipment);
    int delEtInfo(Equipment equipment);
    int importEtInfo(List<Equipment> equipment);
    int importEtInfoPlan(List<Equipment> equipment);
    int saveEtInfoPlan(Equipment equipment);
    int saveEtInfo(Equipment equipment);
}
